import request from '@/router/axios'

export function fetchAddFeeList(query) {
  return request({
    url: '/eims/addfee/page',
    method: 'get',
    params: query
  })
}

export function addAddFeeObj(obj) {
  return request({
    url: '/eims/addfee',
    method: 'post',
    data: obj
  })
}

export function getAddFeeObj(id) {
  return request({
    url: '/eims/addfee/' + id,
    method: 'get'
  })
}

export function delAddFeeObj(id) {
  return request({
    url: '/eims/addfee/' + id,
    method: 'delete'
  })
}

export function putAddFeeObj(obj) {
  return request({
    url: '/eims/addfee',
    method: 'put',
    data: obj
  })
}
